Packetery\Module\CustomsDeclaration\Repository S

Total Complexity 25
Dependencies 6
Dependents 4
Total lines 336
Lines of code 231
Logical lines of code 51
Comment lines 71
Methods 10
Properties 2

Methods 10

Method Rating Maintainability Complexity Lines of code
save()
A
44 10 51
getItemsByCustomsDeclarationId()
S
52 4 33
getByOrderNumber()
S
46 2 51
declarationToDbArray()
S
57 2 17
saveItem()
S
60 2 15
createOrAlterTable()
S
59 1 21
createOrAlterItemTable()
S
59 1 21
declarationItemToDbArray()
S
58 1 15
__construct()
S
77 1 4
deleteItem()
S
78 1 3